package com.grace.cms.common.event;

import com.grace.cms.common.model.EventModel;

import org.springframework.context.ApplicationEvent;

/**
 * 文章发布事件
 */
public class PublicPublishEvent extends ApplicationEvent {
    
    private final EventModel eventModel;
    
    public PublicPublishEvent(Object source, EventModel eventModel) {
        super(source);
        this.eventModel = eventModel; 
    }

    public EventModel getEventModel() {
        return eventModel;
    }
  
}